WPS Office.apk(点击下载) / gum.java


package defpackage;

import android.app.Activity;
import android.os.Build;
import org.json.JSONObject;

/* renamed from: gum  reason: default package */
public class gum {
    private static gum hBF;
    public gul hBG;

    private gum() {
    }

    public static void U(Activity activity) {
        if (bVe()) {
            JSONObject jSONObject = new JSONObject();
            try {
                jSONObject.put("bgColor", "#f1f1f1");
                jSONObject.put("shadow", true);
                jSONObject.put("isWhite", true);
                jSONObject.put("showTitle", true);
                jSONObject.put("translucentBar", false);
            } catch (Exception e) {
            }
            cqn.arn().a(activity, "https://android.wps.cn/long-term/resume-helper/index.html", jSONObject.toString());
        }
    }

    public static gum bVd() {
        if (hBF == null) {
            hBF = new gum();
        }
        return hBF;
    }

    public static boolean bVe() {
        return gqt.bTm() && Build.VERSION.SDK_INT >= 21;
    }

    public void init() {
        if (this.hBG == null) {
            try {
                this.hBG = (gul) cwi.a(gum.class.getClassLoader(), "cn.wps.moffice.writer.shell.resume.ResumeEntrance", null, new Object[0]);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
}